package com.zr.subclass.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Liyiding on 2019/9/22.
 */
@Data
public class SubClassUpdateVo {
    private Integer id;
    @NotBlank(message = "新增时，名称不能为空！")
    private String name;
    private String remark;
    @NotNull(message = "新增时，状态不能为空！")
    private Integer status;
    private int version;
}
